const path = require("path");

module.exports = {
    mode: 'none',
    entry: path.join(__dirname, 'src/main.js'), // 入口文件
    output: {
        filename: "bundle.js",
        path: path.resolve(__dirname, "dist")
    },
    devServer: {
        contentBase: 'public', //静态资源访问

    },
}